#ifndef _WX_UNIX_APPTRAIT_H_
#define _WX_UNIX_APPTRAIT_H_

class wxConsoleAppTraits : public wxConsoleAppTraitsBase {
  public:
    virtual bool CreateEndProcessPipe( wxExecuteData& execData );
    virtual bool IsWriteFDOfEndProcessPipe( wxExecuteData& execData, int fd );
    virtual void DetachWriteFDOfEndProcessPipe( wxExecuteData& execData );
    virtual int WaitForChild( wxExecuteData& execData );
};

#if wxUSE_GUI

class wxGUIAppTraits : public wxGUIAppTraitsBase {
  public:
    virtual bool CreateEndProcessPipe( wxExecuteData& execData );
    virtual bool IsWriteFDOfEndProcessPipe( wxExecuteData& execData, int fd );
    virtual void DetachWriteFDOfEndProcessPipe( wxExecuteData& execData );
    virtual int WaitForChild( wxExecuteData& execData );

    #if defined(__WXMAC__) || defined(__WXCOCOA__)
    virtual wxStandardPathsBase& GetStandardPaths();
    #endif
    virtual wxPortId GetToolkitVersion( int *majVer, int *minVer ) const;
    virtual wxString GetDesktopEnvironment() const;
    #if defined(__WXDEBUG__) && defined(__WXGTK20__)
    virtual bool ShowAssertDialog( const wxString& msg );
    #endif
};

#endif

#endif

